xend: Fix typos in configure_vtpm
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 25 Aug 2009 13:59:09 +0000 (14:59 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 25 Aug 2009 13:59:09 +0000 (14:59 +0100)
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xm/create.py

index 99f9727ee903b57e6217257f9d4d59f3034818fd..d2ea7ecf35a36dbc1d036c1a965ab077bb45f5e6 100644 (file)
@@ -908,9 +908,9 @@ def configure_vtpm(config_devs, vals):
         if backend:
             config_vtpm.append(['backend', backend])
         if typ:
-            config_vtpm.append(['type', type])
+            config_vtpm.append(['type', typ])
         if uuid:
-            config_vtpm.append(['uuid', type])
+            config_vtpm.append(['uuid', uuid])
         config_devs.append(['device', config_vtpm])